package cn.whx.hrm.dto;

import cn.whx.hrm.domain.Employee;
import cn.whx.hrm.domain.Tenant;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class EnteringDto {
    //机构入驻的基本信息
    private Tenant tenant;
    //入驻机构管理员信息
    private Employee employee;
    //套餐id
    @NotNull(message = "套餐id不能为空")
    private  Long mealId;
    //确认密码
    @NotBlank(message = "确认密码不能为空")
    private String confirmPwd;

    @Override
    public String toString() {
        return "EnteringDto{" +
                "tenant=" + tenant +
                ", employee=" + employee +
                ", mealId=" + mealId +
                ", confirmPwd='" + confirmPwd + '\'' +
                '}';
    }

    public Tenant getTenant() {
        return tenant;
    }

    public void setTenant(Tenant tenant) {
        this.tenant = tenant;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Long getMealId() {
        return mealId;
    }

    public void setMealId(Long mealId) {
        this.mealId = mealId;
    }

    public String getConfirmPwd() {
        return confirmPwd;
    }

    public void setConfirmPwd(String confirmPwd) {
        this.confirmPwd = confirmPwd;
    }

}
